package cs.ui250.carnatic;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class RagaLookUpTabActivity extends TabActivity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tab_host);

		TabHost tabHost = getTabHost();
		TabHost.TabSpec spec;
		Intent intent;

		intent = new Intent().setClass(this, RagaBySwaraActivity.class);
		spec = tabHost.newTabSpec("RBS").setIndicator("RAGA BY SWARA")
				.setContent(intent);
		tabHost.addTab(spec);

		intent = new Intent().setClass(this, RagaByNameActivity.class);
		spec = tabHost.newTabSpec("RBN").setIndicator("RAGA BY NAME")
				.setContent(intent);
		tabHost.addTab(spec);

		tabHost.setCurrentTab(0);

	}
}
